package com.example.natatorium_management.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@Data
@NoArgsConstructor
@TableName("orders")
public class Order {
  @TableId("order_id")
  private Integer orderId;
  private String customerName;
  private String gymnasiumName;
  private Long peoplenum;
  private String coachName;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private String time;
  private String memberName;
  private Double price;
  private String remarks;
  private Integer state;
  private Long phone;




}
